﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CKS2320.Common.Model
{
   /// <summary>
   /// 全尺寸检测台
   /// </summary>
    public class ThicknessDetectionModel
    {
        /// <summary>
        /// 工位
        /// </summary>
        public string? StationCode { get; set; }
        /// <summary>
        /// 开始下载信号-心跳
        /// </summary>
        public bool? Heart1 { get; set; }
        /// <summary>
        /// 3D扫描仪启动信号
        /// </summary>
        public bool? _3dscannerStart { get; set; }
        /// <summary>
        /// 3d扫描仪检测结果
        /// </summary>
        public bool? _3dscannerResult1 { get; set; }
        /// <summary>
        /// 3D扫描仪结束信号
        /// </summary>
        public bool? _3dscannerEnd { get; set; }
        /// <summary>
        /// 开始读取信号
        /// </summary>
        public bool? StartUpLoad { get; set; }
        /// <summary>
        /// 工件编号
        /// </summary>
        public string? PartCode { get; set; }
        /// <summary>
        /// 已结束下载信号-心跳
        /// </summary>
        public bool? Heart2 { get; set; }
        /// <summary>
        /// 已结束下载信号
        /// </summary>
        public bool? EndUpLoad { get; set; }
        /// <summary>
        /// 总长 
        /// </summary>
        public bool? TotalLengthResult { get; set; }
        /// <summary>
        /// C 基准-小端距离
        /// </summary>
        public bool? CrsmallEndDistanceResult { get; set; }
        /// <summary>
        /// C 基准-大端距离
        /// </summary>
        public bool? CrlargeEndDistanceResult { get; set; }
        /// <summary>
        /// C 基准-正面 1 波距离
        /// </summary>
        public bool? Crfront1WaveDistanceResult { get; set; }
        /// <summary>
        /// C 基准-正面 64 波距离
        /// </summary>
        public bool? Crfront64WaveDistanceResult { get; set; }
        /// <summary>
        /// 正面厚度1
        /// </summary>
        public bool? FrontThicknessResult1 { get; set; }
        /// <summary>
        /// 正面厚度2
        /// </summary>
        public bool? FrontThicknessResult2 { get; set; }
        /// <summary>
        /// 正面厚度3
        /// </summary>
        public bool? FrontThicknessResult3 { get; set; }
        /// <summary>
        /// 正面厚度4
        /// </summary>
        public bool? FrontThicknessResult4 { get; set; }
        /// <summary>
        /// 正面厚度5
        /// </summary>
        public bool? FrontThicknessResult5 { get; set; }
        /// <summary>
        /// 正面厚度6
        /// </summary>
        public bool? FrontThicknessResult6 { get; set; }
        /// <summary>
        /// 正面厚度7
        /// </summary>
        public bool? FrontThicknessResult7 { get; set; }
        /// <summary>
        /// 背面厚度1
        /// </summary>
        public bool? BackThicknessResult1 { get; set; }
        /// <summary>
        /// 背面厚度2
        /// </summary>
        public bool? BackThicknessResult2 { get; set; }
        /// <summary>
        /// 背面厚度3
        /// </summary>
        public bool? BackThicknessResult3 { get; set; }
        /// <summary>
        /// 背面厚度4
        /// </summary>
        public bool? BackThicknessResult4 { get; set; }
        /// <summary>
        /// 背面厚度5
        /// </summary>
        public bool? BackThicknessResult5 { get; set; }
        /// <summary>
        /// 背面厚度6
        /// </summary>
        public bool? BackThicknessResult6 { get; set; }
        /// <summary>
        /// 背面厚度7
        /// </summary>
        public bool? BackThicknessResult7 { get; set; }
        /// <summary>
        /// 小末端方向检查
        /// </summary>
        public bool? SmallEndDirectionInspectionResult { get; set; }
        /// <summary>
        /// 立面拱曲度
        /// </summary>
        public bool? FacadeCurvatureResult { get; set; }
        public bool? Result { get; set; }
        /// <summary>
        /// 工件类型 A/B
        /// </summary>
        public string? RunType { get; set; }
        /// <summary>
        /// 检测数据
        /// </summary>
        public List<DetectionDetail> detaillist { get; set; } = new List<DetectionDetail>();
    }
}
